package com.yqd.d4_polymorphism.demo2;


public class Cat extends Pet {
    public Integer age = 30;

    @Override
    public void eat() {
        System.out.println("猫吃猫粮");
    }

    public void playBall(){
        System.out.println("猫玩毛球");
    }
}
